package Event.Operation;

import pyrachnid.model.robot_model.Robot;


public abstract class OperationRobot extends Operation{
	private int _identifiantRobot;
	private String _typeRobot;
	
	public OperationRobot(Robot robot) {
		super(robot.getPositionX(), robot.getPositionY());
		_identifiantRobot = robot.hashCode();
		_typeRobot = robot.getRobotType().getNameType();
	}
	
	public int getIdentifiant()
	{
		return _identifiantRobot;
	}
	
	public String getRoboType()
	{
		return _typeRobot;
	}
}
